﻿<Window x:Class="BbsbWebService.AddGroupWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Icon="MainIcon.ico"
    Title="Group Details" Height="342" Width="412">
    <Window.Resources>
        <DataTemplate x:Key="items" DataType="BbsbService.Classes.ControllableItem" >
            <StackPanel Margin="10 10 10 0" Orientation="Horizontal">
                <TextBlock Text="{Binding Path=Name}" />
            </StackPanel>
        </DataTemplate>
    </Window.Resources>
    <Grid Height="394">
        <TextBox Height="23" Margin="101,13,169,0" Name="nameTxt" VerticalAlignment="Top" />
        <Label Height="28" HorizontalAlignment="Left" Margin="31,11,0,0" Name="label2" VerticalAlignment="Top" Width="68">Name</Label>
        <ListBox HorizontalAlignment="Left" Margin="8,87,0,140" Name="allItems" Width="143" SelectionMode="Multiple" ItemTemplate="{StaticResource items}" />
        <ListBox HorizontalAlignment="Right" Margin="0,87,10,140" Name="memberItems" Width="143" SelectionMode="Multiple" ItemTemplate="{StaticResource items}"/>
        <Button Height="23" Margin="174,163,173,0" Name="addItem" VerticalAlignment="Top" Click="joinGroup_Click">&gt; &gt;</Button>
        <Button Margin="174,211,173,0" Name="removeItem" Click="removeGroup_Click" Height="23" VerticalAlignment="Top">&lt; &lt;</Button>
        <Button Height="23" Margin="163,0,124,99" Name="saveBtn" VerticalAlignment="Bottom" Click="saveBtn_Click">Save</Button>
        <Button Height="23" Margin="0,0,10,99" Name="cancelBtn" VerticalAlignment="Bottom" Click="cancelBtn_Click" HorizontalAlignment="Right" Width="103">Cancel</Button>
        <ComboBox Height="23" HorizontalAlignment="Right" Margin="0,13,10,0" Name="groupTypeCmb" VerticalAlignment="Top" Width="120" />
        <Label Content="Command" Height="28" HorizontalAlignment="Left" Margin="31,41,0,0" Name="commandLbl" VerticalAlignment="Top" Width="68" />
        <TextBox Height="23" Margin="101,43,169,0" Name="commandTxt" VerticalAlignment="Top" />
    </Grid>
</Window>
